package com.yss.common.core.domain;

import lombok.Data;

import java.io.Serializable;
import java.util.Map;

/**
 * jsMind需要的数据字段
 */
@Data
public class MindTreeNode implements Serializable {

    private String id;//id
    private boolean isroot = false;// 是否根节点
    private String topic; //显示信息
    private String parentid; //上级ID
    private boolean expanded = true;// 是否展开
    private String direction = "ritht"; // 方向 "left" ,"right"
    private Map<String, Object> data; //放属性数据 比如 background-color font-size width

    private String tableName; //真实表名

    public MindTreeNode() {

    }
}
